import React from 'react'
import actions from '../actions'
export default class Home extends React.Component {
  constructor() {
    super()
    this.state = {
      name: 'react home view'
    }
  }
  componentDidMount() {
    actions.setGlobalState({ title: this.state.name })
  }
  render() {
    return (
      <div className='home'>react home</div>
    )
  }
}